package com.kkwrite.regimen.provider.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 店铺/活动/服务项/评论配图 DO
 *
 * @author Soosky Wang
 * @version 1.0.0
 * @date 2018年7月20日 下午4:58:29
 */
@Entity
@Table(name = "reg_picture")
@Getter
@Setter
@ToString(callSuper = true)
public class RegPictureDO extends BaseDO {

    private static final long serialVersionUID = 8895416950775903217L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column
    private Long pictureId;
    @Column
    private Long pictureOwnerId;
    @Column
    private Short pictureOwnerType;
    @Column
    private String pictureName;
    @Column
    private String pictureUrl;
    @Column
    private Short pictureType;
    @Column
    private Short pictureWidth;
    @Column
    private Short pictureHeight;
    @Column
    private Short pictureOrder;
    @Column
    private String pictureNote;

}
